import React from 'react'
// ===================================================================== Temp
import Table from '#cpt/temp/Table'
// ===================================================================== global declare
const { $fn } = window
// ===================================================================== component
class Index extends React.Component{
	state = {
		data:[],
		pag: {},
	}
	
	// 关联表单
	cols = [
		{ title: '标本号',		dataIndex: 'spec_code', 			...$fn.table.spec_code },
		{ title: '科室',		dataIndex: 'parent_project_name', 	width:130 },
		{ title: '岗位',		dataIndex: 'project_name', 			width:130 },
		{ title: '状态',		dataIndex: 'status_name', 			...$fn.table.status },
		{ title: '上架人',		dataIndex: 'real_name', 			...$fn.table.name },
		{ title: '项目',		dataIndex: 'kind_str', 				width:200 },
	]

	render(){
		return ( Table.call(this, { idStr: 'spec_id' } ) )
	}
}

export default Index